package com.uzai.common.dto.sop;

import java.util.List;

/**
 * @Auther: lucher
 * @Date: 2022/9/14 15:31
 * @Description: 系统风险报警对象
 */
public class SopRiskAlarm {
    //订单报警是否开启（0-否；1-是）
    private Integer orderAlarm;
    //订单报警通知报警联系人id列表
    private List<Long> orderAlarmContacterList;
    //订单亏损占比（百分比）大于等于
    private Double orderAlarmLossProportion ;
    //三个月维权订单占比（百分比）大于等于
    private Double orderAlarmThreeMonthRefundProportion;
    //三个月下级维权订单占比（百分比）大于等于
    private Double orderAlarmThreeMonthRefundSonProportion;
    //本次提现金额中淘宝订单尾号数 大于等于
    private Integer orderAlarmTakeTbOrderTailNoCount;

    //邀请报警是否开启（0-否；1-是）
    private Integer inviteAlarm;
    //邀请报警通知报警联系人id列表
    private List<Long> inviteAlarmContacterList;
    //撸首单奖励，仅下首单占比（百分比）大于等于
    private Double inviteAlarmOnlyFirstOrderProportion;
    //撸首单奖励，仅下首单占比（百分比）大于等于
    private Double inviteAlarmOnlyCheckNotOrderProportion;

    //人工加款报警是否开启（0-否；1-是）
    private Integer manualAlarm;
    //人工加款报警通知报警联系人id列表
    private List<Long> manualAlarmContacterList;
    //提现金额来源中人工调款笔数 大于等于
    private Integer manualAlarmTakeBalCount;
    //提现金额来源中人工调款笔金额 大于等于
    private Double manualAlarmTakeBalMoney;
    //提现金额来源中无订单(0-不处理；1-处理)
    private Integer manualAlarmTakeNoOrder;

    //提现黑名单报警是否开启（0-否；1-是）
    private Integer takeBlacklistAlarm;
    //提现黑名单报警通知报警联系人id列表
    private List<Long> takeBlacklistAlarmContacterList;
    //提现人在全网黑名单/私有黑名单当中报警(0-不处理；1-处理)
    private Integer takeBlacklistAlarmUserIn;


    public Double getOrderAlarmLossProportion() {
        return orderAlarmLossProportion;
    }

    public void setOrderAlarmLossProportion(Double orderAlarmLossProportion) {
        this.orderAlarmLossProportion = orderAlarmLossProportion;
    }

    public Double getOrderAlarmThreeMonthRefundProportion() {
        return orderAlarmThreeMonthRefundProportion;
    }

    public void setOrderAlarmThreeMonthRefundProportion(Double orderAlarmThreeMonthRefundProportion) {
        this.orderAlarmThreeMonthRefundProportion = orderAlarmThreeMonthRefundProportion;
    }

    public Double getOrderAlarmThreeMonthRefundSonProportion() {
        return orderAlarmThreeMonthRefundSonProportion;
    }

    public void setOrderAlarmThreeMonthRefundSonProportion(Double orderAlarmThreeMonthRefundSonProportion) {
        this.orderAlarmThreeMonthRefundSonProportion = orderAlarmThreeMonthRefundSonProportion;
    }

    public Integer getOrderAlarmTakeTbOrderTailNoCount() {
        return orderAlarmTakeTbOrderTailNoCount;
    }

    public void setOrderAlarmTakeTbOrderTailNoCount(Integer orderAlarmTakeTbOrderTailNoCount) {
        this.orderAlarmTakeTbOrderTailNoCount = orderAlarmTakeTbOrderTailNoCount;
    }


    public Double getInviteAlarmOnlyFirstOrderProportion() {
        return inviteAlarmOnlyFirstOrderProportion;
    }

    public void setInviteAlarmOnlyFirstOrderProportion(Double inviteAlarmOnlyFirstOrderProportion) {
        this.inviteAlarmOnlyFirstOrderProportion = inviteAlarmOnlyFirstOrderProportion;
    }

    public Double getInviteAlarmOnlyCheckNotOrderProportion() {
        return inviteAlarmOnlyCheckNotOrderProportion;
    }

    public void setInviteAlarmOnlyCheckNotOrderProportion(Double inviteAlarmOnlyCheckNotOrderProportion) {
        this.inviteAlarmOnlyCheckNotOrderProportion = inviteAlarmOnlyCheckNotOrderProportion;
    }

    public Integer getManualAlarmTakeBalCount() {
        return manualAlarmTakeBalCount;
    }

    public void setManualAlarmTakeBalCount(Integer manualAlarmTakeBalCount) {
        this.manualAlarmTakeBalCount = manualAlarmTakeBalCount;
    }

    public Double getManualAlarmTakeBalMoney() {
        return manualAlarmTakeBalMoney;
    }

    public void setManualAlarmTakeBalMoney(Double manualAlarmTakeBalMoney) {
        this.manualAlarmTakeBalMoney = manualAlarmTakeBalMoney;
    }

    public Integer getManualAlarmTakeNoOrder() {
        if(manualAlarmTakeNoOrder == null){
            manualAlarmTakeNoOrder = 1;
        }
        return manualAlarmTakeNoOrder;
    }

    public void setManualAlarmTakeNoOrder(Integer manualAlarmTakeNoOrder) {
        this.manualAlarmTakeNoOrder = manualAlarmTakeNoOrder;
    }

    public Integer getTakeBlacklistAlarmUserIn() {
        if(takeBlacklistAlarmUserIn == null){
            takeBlacklistAlarmUserIn = 1; //默认开启
        }
        return takeBlacklistAlarmUserIn;
    }

    public void setTakeBlacklistAlarmUserIn(Integer takeBlacklistAlarmUserIn) {
        this.takeBlacklistAlarmUserIn = takeBlacklistAlarmUserIn;
    }

    public Integer getOrderAlarm() {
        return orderAlarm;
    }

    public void setOrderAlarm(Integer orderAlarm) {
        this.orderAlarm = orderAlarm;
    }

    public Integer getInviteAlarm() {
        return inviteAlarm;
    }

    public void setInviteAlarm(Integer inviteAlarm) {
        this.inviteAlarm = inviteAlarm;
    }

    public Integer getManualAlarm() {
        return manualAlarm;
    }

    public void setManualAlarm(Integer manualAlarm) {
        this.manualAlarm = manualAlarm;
    }

    public Integer getTakeBlacklistAlarm() {
        return takeBlacklistAlarm;
    }

    public void setTakeBlacklistAlarm(Integer takeBlacklistAlarm) {
        this.takeBlacklistAlarm = takeBlacklistAlarm;
    }

    public List<Long> getOrderAlarmContacterList() {
        return orderAlarmContacterList;
    }

    public void setOrderAlarmContacterList(List<Long> orderAlarmContacterList) {
        this.orderAlarmContacterList = orderAlarmContacterList;
    }

    public List<Long> getInviteAlarmContacterList() {
        return inviteAlarmContacterList;
    }

    public void setInviteAlarmContacterList(List<Long> inviteAlarmContacterList) {
        this.inviteAlarmContacterList = inviteAlarmContacterList;
    }

    public List<Long> getManualAlarmContacterList() {
        return manualAlarmContacterList;
    }

    public void setManualAlarmContacterList(List<Long> manualAlarmContacterList) {
        this.manualAlarmContacterList = manualAlarmContacterList;
    }

    public List<Long> getTakeBlacklistAlarmContacterList() {
        return takeBlacklistAlarmContacterList;
    }

    public void setTakeBlacklistAlarmContacterList(List<Long> takeBlacklistAlarmContacterList) {
        this.takeBlacklistAlarmContacterList = takeBlacklistAlarmContacterList;
    }
}
